import request from '/@/utils/request'

// 角色列表
export const roleLists = (params?: any) => request.get('/auth/role/lists', params);

// 角色列表全部
export const roleAll = (params?: any) => request.get('/auth/role/all', params);

// 添加角色
export const roleAdd = (params?: any) => request.post('/auth/role/add', params);

// 编辑角色
export const roleEdit = (params?: any) => request.post('/auth/role/edit', params);

// 删除角色
export const roleDelete = (params?: any) => request.delete('/auth/role/delete', params);

// 角色详情
export const roleDetail = (params?: any) => request.get('/auth/role/detail', params);